﻿using SH.Common.CommonReturn;
using SH.Common.DataDictionary;
using SH.Customer.Domain.CustomerClass;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Customer.Application.IApplication.ICustomer
{
    public interface ICustomerApplication : IBaseApplication<CustomerInfo>
    {
        Task<ApiResult<int>> CustomerAdd(CustomerDto customerDto);

        List<Dic> GetCustomerTypeDicsList();

        List<Dic> GetNationDicsList();

        ApiPaging<List<CustomerShowDto>> CustomerInfoList(int ctId, string? tel, int pageIndex, int pageSize);


        Task<CustomerInfo> GetCustomerDelitalAsync(int cId);

        ApiResult<int> UpdCustomer(CustomerUpdDto customerUpdDto);
    }
}

